from fastapi import APIRouter
from app.api.user_api import router as user_router
from app.api.account_api import router as account_router
from app.api.common_api import router as common_router
from app.api.login_api import router as login_router
from app.api.exception_example import router as exception_example_router

api_router = APIRouter(prefix="/api")

# 登录相关路由
api_router.include_router(login_router)
# 用户相关路由
api_router.include_router(user_router)
# 账户相关路由
api_router.include_router(account_router)
# 通用路由
api_router.include_router(common_router)
# 异常示例路由，用于演示
api_router.include_router(exception_example_router)